package com.company.project.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.company.project.mapper.APaidRecordMapper;
import com.company.project.entity.APaidRecordEntity;
import com.company.project.service.APaidRecordService;

import java.math.BigDecimal;


@Service("aPaidRecordService")
public class APaidRecordServiceImpl extends ServiceImpl<APaidRecordMapper, APaidRecordEntity> implements APaidRecordService {


    @Override
    public BigDecimal sumPaidAmountByActiveId(Integer activeId) {
        return baseMapper.sumPaidAmountByActiveId(activeId);
    }
}